﻿@model L2C.Models.NewestItemModel
@if (Model != null)
{
<div class="dealItem">
    <div class="dealItemBackList">
        <div class="blank-top">
            <div class="saleOff">
                <span>- @Html.DisplayFor(x => x.DiscountPercent)%</span></div>
        </div>
        <div class="left-info">
            <div onclick="window.location='@Url.Action("Item", "Deal", new { itemId = Model.ID, caption = Model.SEOCaption })'"
                                style="cursor: pointer;" class="divIMGSlideShow">
                <div class="ws_images">
                    <span>
                        <img alt="Bàn Laptop Đa Năng E-Table LD09" src="@Html.DisplayTextFor(x => x.Image)">
                    </span>
                </div>
                <div class="ws_shadow">
                </div>
                @Html.ActionLink(" ", "Item", "Deal", new { itemId = Model.ID, caption = Model.SEOCaption }, new { @class = "linkToDetail" })
            </div>
        </div>
        <div class="right-info">
            <div class="dealName">
                <h2>
                    @Html.ActionLink(Model.Title, "Item", "Deal", new { itemId = Model.ID, caption = Model.SEOCaption }, null)
                </h2>
            </div>
            <div class="dealDescription">
                <span class="description">@Html.DisplayTextFor(x => x.Description)</span></div>
            <div class="clear">
            </div>
            <div class="dealPrice">
                <span style="display: block; font-size: 130%; color: #595959;">Chỉ:</span>
                <div class="price">
                    <span>@Html.DisplayFor(x => x.SellPrice)</span>
                </div>
                <div class="divXem">
                    @Html.ActionLink(" ", "Item", "Deal", new { itemId = Model.ID, caption = Model.SEOCaption }, new { @class = "btnXem" })
                </div>
                <div class="clear">
                </div>
            </div>
            @* <div class="dealInfo">
                                    <ul>
                                        <li title="Tiền tích lũy"><span class="info-item tien-tich-luy"></span><span class="loyalty-value">
                                            1.000</span></li>
                                        <li title="Lượt bình luận"><span class="info-item comment"></span><span class="comment-value">
                                            <fb:comments-count href="http://xdeal.vn/Thong-tin-deal/1027/" fb-xfbml-state="parsed"
                                                class=" fb_comments_count_zero"></fb:comments-count>
                                        </span></li>
                                        <li title="Lượt xem"><span class="info-item view"></span><span class="view-value">8.444</span></li>
                                    </ul>
                                </div>*@
            <div class="clear">
            </div>
        </div>
        <div class="clear">
        </div>
    </div>
</div>
}
else
{ <p><strong>Hiện không có sản phẩm cho danh mục này</strong></p>}
